package com.lzh.java2;

public class Person {
	
	String name; 
	int age;
	int id = 1001;
	
	public Person() {
		
	}
	
	public Person(String name, int age) {
		super();
		this.name = name;
		this.age = age;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void eat() {
		System.out.println("人吃饭");
	}
	public void walk() {
		System.out.println("人走路");
	}
	
	
}
